#!/bin/bash

echo "Stopping services..."

if [ -f server.pid ]; then
    kill $(cat server.pid)
    rm server.pid
    echo "MCP Server stopped."
fi

if [ -f client.pid ]; then
    kill $(cat client.pid)
    rm client.pid
    echo "Client API Server stopped."
fi

echo "All services stopped."